package com.qinghuan.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @Auther: qinghuan
 * @Date: 2022/3/5 21:36
 * @Description:
 */
@Component("c")
public class Category implements Serializable {

    private int id;
    private String name = "category 1";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
